package com.wyg.epdata.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wyg.epdata.entity.Article;
import com.wyg.epdata.entity.ArticleKw;
import com.wyg.epdata.entity.dto.KwCountDTO;


import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author WangYongGan
 * @since 2021-11-11
 */
public interface ArticleKwService extends IService<ArticleKw> {
    //远程获取关键字
    void saveArticleKeyWord(Article article);

    //
    List<KwCountDTO> getNKwByEntity(String entity, int n);

    List<String> getNKw(int n);


}
